home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
prg_basi
/
n_b-v200.zip
/
NBT1
/
DMO
/
README.PLS
< prev
next >
Wrap
Text File
|
1996-03-11
|
3KB
|
63 lines
$if 0
┌──────────────────────────╖ PowerBASIC v3.20
┌──┤ DASoft ╟──────────────────────┬──────────────────╖
│ ├──────────────────────────╢ Copyright 1995 │ DATE: 1995-10-01 ╟─╖
│ │ FILE NAME README .PLS ║ by ╘════════════════─ ║ ║
│ │ ║ Don Schullian, Jr. ║ ║
│ ╘══════════════════════════╝ ║ ║
│ A license is hereby granted to the holder to use this source code in ║ ║
│ any program, commercial or otherwise, without receiving the express ║ ║
│ permission of the copyright holder and without paying any royalties, ║ ║
│ as long as this code is not distributed in any compilable format. ║ ║
│ IE: source code files, PowerBASIC Unit files, and printed listings ║ ║
╘═╤═════════════════════════════════════════════════════════════════════╝ ║
│ .................................... ║
╘═══════════════════════════════════════════════════════════════════════╝
$endif
Welcome to the text package.
The 22 files in DAS-NBT0.PBL turn the mouse OFF/ON before/after attacking
the screen. This saves you time and energy remembering to do so in your
programs. The routines in this library are identical to the ones found in
DAS-NBT1.PBL so you have a choice of mouse or no mouse. As DAS-NBT1 also
contains some different functions you will need to load both libraries
in order to get mouse support but only DAS-NBT1 if you don't want the
mouse stuff. This can be done because PowerBASIC searches for functions
in the order you have linked them and the first occurrence is taken so
the mouse package needs to supersede DAS-NBT1 in your program thus:
eg: $INCLUDE "DAS-NBT0.INC" ' mouse aware routines
$INCLUDE "DAS-NBT1.INC" ' all the other stuff
─────────────────────────────────────────────────────────
eg: $INCLUDE "DAS-NBT1.INC" ' no mouse stuff
Finally, all the routines in DAS-NBT0 are demonstrated here as they are
identical to those in DAS-NBT1 except for the mouse support.
────────────────────────────────────────────────────────────────────────────
While I've got your attention:
The .ASM routines that print to, read from, or change the attributes of the
text screen all work on the current APAGE that has been set using the SCREEN
statement and reported in pbvScrnApage. The exception is TBoxCopy which has
the FromPage? and ToPage? parameters.
Each and every time you call one of the routines in this library that print
to the screen pbvScrnApage is checked to see if it has changed since the
previous call. If it has then VIDEOsetup is called automatically. As I have
set the default Apage as 255 it's a good bet that VIDEOsetup will be called
the first time the data is needed! The only time you need to call it is if
you change the number of lines on the screen in the middle of the program.
ie: If you are working on 25x80 text screen throughout your program then
don't worry about VIDEOsetup as it's all automatic.
────────────────────────────────────────────────────────────────────────────
Well, once again, thanks for joining me. Let's go do the .DMO programs and
have a look at all the goodies!
d83)